﻿@model IEnumerable<LeadMaster.Models.Sectors>

@{
    ViewBag.Title = "Index";
}

<div class="formbutton">
    @Html.ActionLink("Add", "Create")
</div>
<table class="smallerlisttable contactstable" cellspacing="0" cellpadding="0">
<thead>
    <tr>
        <th class="tableheader">
            <label>Sector</label>
        </th>
        <th class="tableheader">
            <label>Description</label>
        </th>
        <th class="tableheader">
            <label>Purchase Order Notes</label>
        </th>
        <th class="tableheader">
            <label>Default Outsourcer Fee</label>
        </th>
        <th class="tableheader">
            <label>Default Client Fee</label>
        </th>
        <th class="tableheader"></th>
    </tr>
</thead>
<tbody>
@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Sector)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Description)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ponotes)
        </td>
        <td>
            £@Html.DisplayFor(modelItem => item.DefaultCCFee)
        </td>
        <td>
            £@Html.DisplayFor(modelItem => item.DefaultClientFee)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.SectorID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.SectorID })
        </td>
    </tr>
}
</tbody>
</table>
